<?php

namespace Common\Model;
use Common\Model\CommonModel;

class QiniuVideoModel extends CommonModel{

    /*模型中定义的表*/
    protected $tableName = 'qiniu_video';

    /* 自动验证规则 */
    protected $_validate = array(
    );

    /* 自动完成规则 */
    protected $_auto = array(
        array("inputtime","time",1,"function"),
    );

    public function cache(){
        S('action_list',null);
        $action_list=$this->getField('id,name,title,remark,rule,log,type,status');
        S('action_list',$action_list);
    }
}